package com.ycsyxt.controller;

import java.util.List;

import com.ycsyxt.entity.SysTest;
import com.ycsyxt.service.TestService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ycs(15241496739 @ 163.com)
 * @date 2021/12/25
 **/
@RequestMapping("/test")
@RestController
public class TestController extends BaseController {
    @Autowired
    private TestService testService;

    @GetMapping("/list")
    public List<SysTest> list(@RequestParam(required = false) SysTest sysTest) {
//        startPage();
        return testService.selectTest(sysTest);
    }
}
